package com.test.model;

import java.io.Serializable;
import java.util.Date;

public class UserInfo
{
	private Integer id;
	private String account;
	private String password;
	private String nickname;
	private Integer role;
	private Date regtime;
	private String qq;
	private int loginCounter;
	private String loginIp = "";
	private String onlineTime = "";
	

	public Integer getId()
	{
		return id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public String getAccount()
	{
		return account;
	}

	public void setAccount(String account)
	{
		this.account = account;
	}

	public String getPassword()
	{
		return password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}

	public String getNickname()
	{
		return nickname;
	}

	public void setNickname(String nickname)
	{
		this.nickname = nickname;
	}

	@Override
	public String toString()
	{
		return this.id+" "+this.account+" "+this.nickname;
	}

	public Integer getRole()
	{
		return role;
	}

	public void setRole(Integer role)
	{
		this.role = role;
	}

	public Date getRegtime()
	{
		return regtime;
	}

	public void setRegtime(Date regtime)
	{
		this.regtime = regtime;
	}

	public String getQq()
	{
		return qq;
	}

	public void setQq(String qq)
	{
		this.qq = qq;
	}

	public int getLoginCounter()
	{
		return loginCounter;
	}

	public void setLoginCounter(int loginCounter)
	{
		this.loginCounter = loginCounter;
	}

	public String getLoginIp()
	{
		return loginIp;
	}

	public void setLoginIp(String loginIp)
	{
		this.loginIp = loginIp;
	}

	public String getOnlineTime()
	{
		return onlineTime;
	}

	public void setOnlineTime(String onlineTime)
	{
		this.onlineTime = onlineTime;
	}
}
